package com.mxpio.erp.common.technology.service;

import com.mxpio.erp.common.technology.entity.Item;
import com.mxpio.erp.common.technology.vo.ItemWithSubExtendsVO;
import com.mxpioframework.common.vo.Result;
import com.mxpioframework.system.service.BaseService;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

public interface ItemService extends BaseService<Item> {

    @Transactional(readOnly = true)
    Result<ItemWithSubExtendsVO> queryItemWithExtendsByCode(String itemCode);

    String deleteCheck(String itemCode);

    Result<?> batchSubmit(List<Item> items);
}
